package cn.donting.plugin.spring.boot.starter.exception;

import lombok.Getter;

/**
 *
 * @author donting
 * 插件的异常
 *  2020-04-17 下午3:29
 */
@Getter
public class PluginException extends Exception {

    private String zh_msg;


    public PluginException(String message, String zh_msg) {
        super(message);
        this.zh_msg=zh_msg;
    }
    public PluginException(String message, String zh_msg, Throwable cause) {
        super(message, cause);
        this.zh_msg=zh_msg;
    }

    public PluginException(String message) {
        super(message);
    }
    public PluginException(String message, Throwable cause) {
        super(message, cause);
    }

}
